package
{
	
	import ItemTemplate;
	
	public class Item extends ItemTemplate
	{
		
		private var _template:ItemTemplate;
		private var _ownerid:int;
		
		public function Item(itemObj:Object)
		{
			
			super();
			
				if ("intOwnerID" in itemObj)
				{
					
					_ownerid = int(itemObj.intOwnerID);
					
				}
			
		}
		
		public function get intOwnerID():int
		{
			
			return this._ownerid;
			
		}
		
		public function get template():ItemTemplate
		{
			
			return this._template;
			
		}
	}
}